package com.ruoyi.project.jiaqin.supplycomment.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 供应评论对象 supply_comment
 * 
 * @author admin
 * @date 2021-02-22
 */
public class SupplyComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 供应ID */
    @Excel(name = "供应ID")
    private String supplyId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 评论时间 */
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commentAt;

    /** 评论状态(0显示,1隐藏) */
    @Excel(name = "评论状态(0显示,1隐藏)")
    private Integer status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSupplyId(String supplyId) 
    {
        this.supplyId = supplyId;
    }

    public String getSupplyId() 
    {
        return supplyId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCommentAt(Date commentAt) 
    {
        this.commentAt = commentAt;
    }

    public Date getCommentAt() 
    {
        return commentAt;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplyId", getSupplyId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("commentAt", getCommentAt())
            .append("status", getStatus())
            .toString();
    }
}
